Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(minipipeline): DNSLookupFailures must be a slice #1395

Merged
merged 63 commits into from
Nov 28, 2023

Conversation

bassosimone
Copy link
Contributor

@bassosimone bassosimone commented Nov 28, 2023

WebObservationsContainer.DNSLookupFailures MUST be a slice because of ooni/probe#2624. We have the same transaction IDs for both A and AAAA queries. Until we fix this bug, we must use a list because that allows for duplication.

While there, create measurexlite.webTitleRegexp just once.

While there, implement an -help flag for ./internal/cmd/minipipeline.

We're introducing failure modes that do not exist hence it seems
this is not the correct way of moving forward.
I'm doing this mainly to explore whether we could have more
robust webconnectivity v0.5 analysis code
Because I am dropping the requests again, we break again the tests
with the redirects. I could possibly fix it by putting requests back
again but I am not super happy about doing this because that would
cause the DSL to do some strange work and I'd honestly rather not do this.
what remains to be done now is to make sure we make green all the
tests that are currently skipped

we also need to account for differences between the two
then next step is to sort out this mess :-)
(I am thankful there's a ~comprehensive test suite.)
this happens because LTE sucessfully handshakes with the wrong address
@bassosimone bassosimone changed the title Fix/dns failures fix(minipipeline): DNSLookupFailures must be a slice Nov 28, 2023
@bassosimone bassosimone marked this pull request as ready for review November 28, 2023 13:33
@bassosimone bassosimone merged commit 719c3c2 into master Nov 28, 2023
10 checks passed
@bassosimone bassosimone deleted the fix/dns_failures branch November 28, 2023 13:46
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
`WebObservationsContainer.DNSLookupFailures` MUST be a slice because of
ooni/probe#2624. We have the same transaction
IDs for both A and AAAA queries. Until we fix this bug, we must use a
list because that allows for duplication.

While there, create `measurexlite.webTitleRegexp` just once.

While there, implement an `-help` flag for
`./internal/cmd/minipipeline`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant